/*
package com.medical.Exception;

import com.medical.result.Result;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.RestControllerAdvice;

@Slf4j
@RestControllerAdvice
public class GlobalExceptionHandler {

    @ExceptionHandler
    public Result handleException(Exception e) {
        log.error("服务器异常：{}", e.getMessage());
        e.printStackTrace();
        return Result.error("服务器出错啦~~~");
    }



}
*/
